package com.intelli4.pos.controllers;

import com.intelli4.pos.core.Session;

public class SessionAlreadyOpenedException extends Exception {
	private static final long serialVersionUID = 3396632391437315873L;

	private Session existingSession;

	public SessionAlreadyOpenedException() {
		super();
	}

	public SessionAlreadyOpenedException(Session existingSession) {
		super();
		this.existingSession = existingSession;
	}

	public Session getExistingSession() {
		return existingSession;
	}

	public void setExistingSession(Session existingSession) {
		this.existingSession = existingSession;
	}

}
